package com.alibaba.citrus.ots.sales.plan.repository;

import com.alibaba.citrus.ots.sales.plan.dto.api.request.DepartRedLineQueryRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.DepartmentContractRedLineSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.cz.base.tool.result.Result;

import java.util.List;

/**
 * @author wangyibing
 */
public interface DepartmentContractRedLineRepository {
    Integer batchDepartmentContractRedLine(List<DepartmentContractRedLineSDO> departmentContractRedLineSDOS);

    String createContractRedLine(DepartmentContractRedLineSDO departmentContractRedLineSDO);

    Result<Boolean> batchUpdateRedCount();

    DepartmentContractRedLineSDO querySingleByDepartAndItem(DepartRedLineQueryRequest departRedLineQueryRequest);
}
